/**
 * 
 */
package org.softTank.BC.manager;

import java.util.List;

import org.softTank.BC.manager.util.OperationParserImpl;
import org.softTank.BC.rs.bean.ParameterBean;
import org.softTank.BcpModel.BcpPartnerLink;
import org.softTank.BcpModel.BcpVariable;


/**
 * @author Yuzone
 *
 */
public class OperationManager {

	private OperationParserImpl operationParser;

	public OperationManager() {
		operationParser = new OperationParserImpl();
	}

	public BcpPartnerLink getPartnerLink(String id, String operation, int type) {
		return operationParser.getPartnerLink(id, operation, type);
	}

	public List<BcpVariable> getVariable(String serviceID, String operation) {
		return operationParser.getVariable(serviceID, operation);
	}

	public List<ParameterBean> getParameterBean(String serviceID,
			String operation) {
		return operationParser.getParameterList(serviceID, operation);
	}
}
